package com.cslc.wechat.faultreport.service;

import com.cslc.wechat.common.bean.Clerk;
import com.cslc.wechat.common.bean.Pending;

public interface IFaultReportService {
	/**
	 * 通过openid判断该用户是否绑定了终端
	 * @param openid
	 * @return true 绑定
	 * 		   false 未绑定
	 */
	public boolean isClerkBindTerminal(String openid);
	
	/**
	 * 通过openid获取该用户对象
	 * @param openid
	 * @return
	 */
	public Clerk getClerkWithOpenid(String openid);
	
	/**
	 * 增加待处理事件
	 * @param pending
	 * @return
	 */
	public void addPendingEvent(Pending pending);

}
